package cn.com.ddapp.ddm.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/8/24 0024.//商品详情的bean
 */
public class DetailsBean extends Entity{



    private String goodsImgs;

    private DetailBean detail;
    private int goodsCommentCount;
    private List<BrowseGood> browseGoods;
    private List<LikeBrandGood> likeBrandGoods;

    public List<LikeBrandGood> getLikeBrandGoods() {
        return likeBrandGoods;
    }

    public void setLikeBrandGoods(List<LikeBrandGood> likeBrandGoods) {
        this.likeBrandGoods = likeBrandGoods;
    }

    public List<BrowseGood> getBrowseGoods() {
        return browseGoods;
    }

    public void setBrowseGoods(List<BrowseGood> browseGoods) {
        this.browseGoods = browseGoods;
    }

    public String getGoodsImgs() {
        return goodsImgs;
    }

    public void setGoodsImgs(String goodsImgs) {
        this.goodsImgs = goodsImgs;
    }

    public DetailBean getDetail() {
        return detail;
    }

    public void setDetail(DetailBean detail) {
        this.detail = detail;
    }

    public int getGoodsCommentCount() {
        return goodsCommentCount;
    }

    public void setGoodsCommentCount(int goodsCommentCount) {
        this.goodsCommentCount = goodsCommentCount;
    }
    public static class BrowseGood{
        int id;
        String lastViewTime;
        String name;
        double price;
        String headImg;

        public String getHeadImg() {
            return headImg;
        }

        public void setHeadImg(String headImg) {
            this.headImg = headImg;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLastViewTime() {
            return lastViewTime;
        }

        public void setLastViewTime(String lastViewTime) {
            this.lastViewTime = lastViewTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }
    }
    public static class LikeBrandGood {
        int id;
        String lastViewTime;
        String name;
        double price;
        String headImg;

        public String getHeadImg() {
            return headImg;
        }

        public void setHeadImg(String headImg) {
            this.headImg = headImg;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getLastViewTime() {
            return lastViewTime;
        }

        public void setLastViewTime(String lastViewTime) {
            this.lastViewTime = lastViewTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }
    }
    public static class DetailBean {

        private GoodsBean goods;

        private GoodsDetailBean goodsDetail;
        private boolean ifFollow;
        private int num;
        private double price;
        private String sortName;
        private String firstSortName;
        private List<?> attrList;
        private List<?> inventoryList;
        private List<GoodKey> paramsList;

        public String getFirstSortName() {
            return firstSortName;
        }

        public void setFirstSortName(String firstSortName) {
            this.firstSortName = firstSortName;
        }

        public GoodsBean getGoods() {
            return goods;
        }

        public void setGoods(GoodsBean goods) {
            this.goods = goods;
        }

        public GoodsDetailBean getGoodsDetail() {
            return goodsDetail;
        }

        public void setGoodsDetail(GoodsDetailBean goodsDetail) {
            this.goodsDetail = goodsDetail;
        }

        public boolean isIfFollow() {
            return ifFollow;
        }

        public void setIfFollow(boolean ifFollow) {
            this.ifFollow = ifFollow;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getSortName() {
            return sortName;
        }

        public void setSortName(String sortName) {
            this.sortName = sortName;
        }

        public List<?> getAttrList() {
            return attrList;
        }

        public void setAttrList(List<?> attrList) {
            this.attrList = attrList;
        }

        public List<?> getInventoryList() {
            return inventoryList;
        }

        public void setInventoryList(List<?> inventoryList) {
            this.inventoryList = inventoryList;
        }

        public List<GoodKey> getParamsList() {
            return paramsList;
        }

        public void setParamsList(List<GoodKey> paramsList) {
            this.paramsList = paramsList;
        }

        public static class GoodKey{
            String des;
            int goodsId;
            int id;
            String name;
            String parentName;

            public String getParentName() {
                return parentName;
            }

            public void setParentName(String parentName) {
                this.parentName = parentName;
            }

            public String getDes() {
                return des;
            }

            public void setDes(String des) {
                this.des = des;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
        public static class GoodsBean {
            private String addrId;
            private String attrs;
            private int brandId;
            private int display;
            private String goodsDes;
            private String goodsNum;
            private int hair;
            private int id;
            private String name;
            private int num;
            private double price;
            private double priceMk;
            private int saleCount;
            private int siteId;
            private int viewCount;
            private String vedio;
            private String vedioImg;

            public String getAddrId() {
                return addrId;
            }

            public void setAddrId(String addrId) {
                this.addrId = addrId;
            }

            public String getAttrs() {
                return attrs;
            }

            public void setAttrs(String attrs) {
                this.attrs = attrs;
            }

            public int getBrandId() {
                return brandId;
            }

            public void setBrandId(int brandId) {
                this.brandId = brandId;
            }

            public int getDisplay() {
                return display;
            }

            public void setDisplay(int display) {
                this.display = display;
            }

            public String getGoodsDes() {
                return goodsDes;
            }

            public void setGoodsDes(String goodsDes) {
                this.goodsDes = goodsDes;
            }

            public String getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(String goodsNum) {
                this.goodsNum = goodsNum;
            }

            public int getHair() {
                return hair;
            }

            public void setHair(int hair) {
                this.hair = hair;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getPriceMk() {
                return priceMk;
            }

            public void setPriceMk(double priceMk) {
                this.priceMk = priceMk;
            }

            public int getSaleCount() {
                return saleCount;
            }

            public void setSaleCount(int saleCount) {
                this.saleCount = saleCount;
            }

            public int getSiteId() {
                return siteId;
            }

            public void setSiteId(int siteId) {
                this.siteId = siteId;
            }

            public int getViewCount() {
                return viewCount;
            }

            public void setViewCount(int viewCount) {
                this.viewCount = viewCount;
            }

            public String getVedio() {
                return vedio;
            }

            public void setVedio(String vedio) {
                this.vedio = vedio;
            }

            public String getVedioImg() {
                return vedioImg;
            }

            public void setVedioImg(String vedioImg) {
                this.vedioImg = vedioImg;
            }
        }

        public static class GoodsDetailBean {
            private int goodsId;
            private String goodsInfo;
            private int id;

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsInfo() {
                return goodsInfo;
            }

            public void setGoodsInfo(String goodsInfo) {
                this.goodsInfo = goodsInfo;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
